<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.cppclass_typehandlers.CppClassRefParameter</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.cppclass_typehandlers-module.html">Module&nbsp;cppclass_typehandlers</a> ::
        Class&nbsp;CppClassRefParameter
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class CppClassRefParameter</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_31" name="uml_class_diagram_for_pybindge_31">
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#CTYPES" title="pybindgen.cppclass_typehandlers.CppClassRefParameter.CTYPES" alt="" coords="17,359,617,377"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#cpp_class" title="pybindgen.cppclass_typehandlers.CppClassRefParameter.cpp_class" alt="" coords="17,377,617,396"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#DIRECTIONS" title="pybindgen.cppclass_typehandlers.CppClassRefParameter.DIRECTIONS" alt="" coords="17,396,617,415"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#__init__" title="ctype &#45;&#45; C type, normally &#39;MyClass*&#39; name &#45;&#45; parameter name" alt="" coords="17,417,617,436"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_python_to_c" title="parses python args to get C++ value" alt="" coords="17,436,617,455"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_c_to_python" title="Write some code before calling the Python method." alt="" coords="17,455,617,473"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html" title="Class&amp; handlers" alt="" coords="16,341,619,475"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassParameterBase-class.html" title="Base class for all C++ Class parameter handlers" alt="" coords="243,280,392,312"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#ctype_no_const" title="pybindgen.typehandlers.base.TypeHandler.ctype_no_const" alt="" coords="137,28,497,47"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#set_tranformation" title="pybindgen.typehandlers.base.TypeHandler.set_tranformation" alt="" coords="137,49,497,68"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#set_transformation" title="Set the type transformation to use in this type handler" alt="" coords="137,68,497,87"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html" title="pybindgen.typehandlers.base.TypeHandler" alt="" coords="136,11,499,88"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_IN" title="pybindgen.typehandlers.base.Parameter.DIRECTION_IN" alt="" coords="212,135,423,153"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_OUT" title="pybindgen.typehandlers.base.Parameter.DIRECTION_OUT" alt="" coords="212,153,423,172"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_INOUT" title="pybindgen.typehandlers.base.Parameter.DIRECTION_INOUT" alt="" coords="212,172,423,191"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#SUPPORTS_TRANSFORMATIONS" title="pybindgen.typehandlers.base.Parameter.SUPPORTS_TRANSFORMATIONS" alt="" coords="212,191,423,209"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter.__metaclass__-class.html" title="Metaclass for automatically registering parameter type handlers" alt="" coords="212,209,423,228"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#new" title="pybindgen.typehandlers.base.Parameter.new" alt="" coords="212,231,423,249"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html" title="Abstract base class for all classes dedicated to handle specific parameter types" alt="" coords="211,117,424,251"/>
</map>
  <img src="uml_class_diagram_for_pybindge_31.gif" alt='' usemap="#uml_class_diagram_for_pybindge_31" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Class&amp; handlers</p>

<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Nested Classes</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter.__metaclass__-class.html">__metaclass__</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ctype</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">direction</span>=<span class="summary-sig-default">1</span>,
        <span class="summary-sig-arg">is_const</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">default_value</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">default_value_type</span>=<span class="summary-sig-default">None</span>)</span><br />
      ctype -- C type, normally 'MyClass*' name -- parameter name</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter.__init__">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___25-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for___init___25-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___25" name="call_graph_for___init___25">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_copy_constructor" title="cppclass.CppClass.add_copy_constructor()" alt="" coords="7,5,409,37"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#__init__" title="__init__()" alt="" coords="460,33,564,65"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassParameterBase-class.html#__init__" title="CppClassParameterBase.__init__()" alt="" coords="613,33,947,65"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#new" title="typehandlers.base.Parameter.new()" alt="" coords="33,61,383,93"/>
</map>
  <img src="call_graph_for___init___25.gif" alt='' usemap="#call_graph_for___init___25" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_python_to_c" class="summary-sig-name">convert_python_to_c</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>)</span><br />
      parses python args to get C++ value</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter.convert_python_to_c">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_python__8-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_convert_python__8-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_python__8" name="call_graph_for_convert_python__8">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_get_wrapper_registry" title="cppclass.CppClass._get_wrapper_registry()" alt="" coords="1023,5,1433,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_all_implicit_conversions" title="cppclass.CppClass.get_all_implicit_conversions()" alt="" coords="1000,61,1456,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_pystruct" title="cppclass.CppClass.get_pystruct()" alt="" coords="1068,117,1388,149"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#write_create_instance" title="cppclass.CppClass.write_create_instance()" alt="" coords="1024,173,1432,205"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_python_to_c" title="convert_python_to_c()" alt="" coords="607,313,833,345"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#add_parameter" title="typehandlers.base.BuildValueParameters.add_parameter()" alt="" coords="951,229,1505,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#indent" title="typehandlers.base.CodeBlock.indent()" alt="" coords="1044,285,1412,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#unindent" title="typehandlers.base.CodeBlock.unindent()" alt="" coords="1032,341,1424,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="1023,397,1433,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_return" title="typehandlers.base.CodeBlock.write_error_return()" alt="" coords="987,453,1469,485"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="961,509,1495,541"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#add_parameter" title="typehandlers.base.ParseTupleParameters.add_parameter()" alt="" coords="949,565,1507,597"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#write_register_new_wrapper" title="wrapper_registry.StdMapWrapperRegistry.write_register_new_wrapper()" alt="" coords="884,621,1572,653"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="typehandlers.base.ForwardWrapperBase.generate_body()" alt="" coords="5,313,557,345"/>
</map>
  <img src="call_graph_for_convert_python__8.gif" alt='' usemap="#call_graph_for_convert_python__8" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_c_to_python" class="summary-sig-name">convert_c_to_python</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>)</span><br />
      Write some code before calling the Python method.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter.convert_c_to_python">source&nbsp;code</a></span>
            <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_c_to_py_8-summary-div');return false;">call&nbsp;graph</a></span>&nbsp;
          </td>
        </tr>
      </table>
      <div style="display:none" id="call_graph_for_convert_c_to_py_8-summary-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_c_to_py_8" name="call_graph_for_convert_c_to_py_8">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_get_wrapper_registry" title="cppclass.CppClass._get_wrapper_registry()" alt="" coords="967,5,1377,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_pystruct" title="cppclass.CppClass.get_pystruct()" alt="" coords="1012,61,1332,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#write_create_instance" title="cppclass.CppClass.write_create_instance()" alt="" coords="968,117,1376,149"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_c_to_python" title="convert_c_to_python()" alt="" coords="551,257,777,289"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#add_parameter" title="typehandlers.base.BuildValueParameters.add_parameter()" alt="" coords="895,173,1449,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#add_cleanup_code" title="typehandlers.base.CodeBlock.add_cleanup_code()" alt="" coords="935,229,1409,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#indent" title="typehandlers.base.CodeBlock.indent()" alt="" coords="988,285,1356,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#unindent" title="typehandlers.base.CodeBlock.unindent()" alt="" coords="976,341,1368,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="967,397,1377,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="905,453,1439,485"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#write_register_new_wrapper" title="wrapper_registry.StdMapWrapperRegistry.write_register_new_wrapper()" alt="" coords="828,509,1516,541"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="7,257,500,289"/>
</map>
  <img src="call_graph_for_convert_c_to_py_8.gif" alt='' usemap="#call_graph_for_convert_c_to_py_8" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html">typehandlers.base.TypeHandler</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html#set_tranformation">set_tranformation</a></code>,
      <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html#set_transformation">set_transformation</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS METHODS ==================== -->
<a name="section-ClassMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Methods</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#new">new</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Variables</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="CTYPES"></a><span class="summary-name">CTYPES</span> = <code title="[]">[]</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="cpp_class"></a><span class="summary-name">cpp_class</span> = <code title="&lt;pybindgen.CppClass None&gt;">&lt;pybindgen.CppClass None&gt;</code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DIRECTIONS"></a><span class="summary-name">DIRECTIONS</span> = <code title="[1, 2, 3]"><code class="variable-group">[</code>1<code class="variable-op">, </code>2<code class="variable-op">, </code>3<code class="variable-group">]</code></code>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.Parameter-class.html">typehandlers.base.Parameter</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_IN">DIRECTION_IN</a></code>,
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_INOUT">DIRECTION_INOUT</a></code>,
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#DIRECTION_OUT">DIRECTION_OUT</a></code>,
      <code><a href="pybindgen.typehandlers.base.Parameter-class.html#SUPPORTS_TRANSFORMATIONS">SUPPORTS_TRANSFORMATIONS</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html">typehandlers.base.TypeHandler</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html#ctype_no_const">ctype_no_const</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">ctype</span>,
        <span class="sig-arg">name</span>,
        <span class="sig-arg">direction</span>=<span class="sig-default">1</span>,
        <span class="sig-arg">is_const</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">default_value</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">default_value_type</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter.__init__">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for___init___25-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for___init___25-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for___init___25" name="call_graph_for___init___25">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#add_copy_constructor" title="cppclass.CppClass.add_copy_constructor()" alt="" coords="7,5,409,37"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#__init__" title="__init__()" alt="" coords="460,33,564,65"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassParameterBase-class.html#__init__" title="CppClassParameterBase.__init__()" alt="" coords="613,33,947,65"/>
<area shape="rect" href="pybindgen.typehandlers.base.Parameter-class.html#new" title="typehandlers.base.Parameter.new()" alt="" coords="33,61,383,93"/>
</map>
  <img src="call_graph_for___init___25.gif" alt='' usemap="#call_graph_for___init___25" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>ctype -- C type, normally 'MyClass*' name -- parameter name</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>ctype</code></strong> - C type, normally 'MyClass*'</li>
        <li><strong class="pname"><code>name</code></strong> - parameter name</li>
    </ul></dd>
    <dt>Overrides:
        object.__init__
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="convert_python_to_c"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">convert_python_to_c</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter.convert_python_to_c">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_python__8-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_convert_python__8-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_python__8" name="call_graph_for_convert_python__8">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_get_wrapper_registry" title="cppclass.CppClass._get_wrapper_registry()" alt="" coords="1023,5,1433,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_all_implicit_conversions" title="cppclass.CppClass.get_all_implicit_conversions()" alt="" coords="1000,61,1456,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_pystruct" title="cppclass.CppClass.get_pystruct()" alt="" coords="1068,117,1388,149"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#write_create_instance" title="cppclass.CppClass.write_create_instance()" alt="" coords="1024,173,1432,205"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_python_to_c" title="convert_python_to_c()" alt="" coords="607,313,833,345"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#add_parameter" title="typehandlers.base.BuildValueParameters.add_parameter()" alt="" coords="951,229,1505,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#indent" title="typehandlers.base.CodeBlock.indent()" alt="" coords="1044,285,1412,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#unindent" title="typehandlers.base.CodeBlock.unindent()" alt="" coords="1032,341,1424,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="1023,397,1433,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_error_return" title="typehandlers.base.CodeBlock.write_error_return()" alt="" coords="987,453,1469,485"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="961,509,1495,541"/>
<area shape="rect" href="pybindgen.typehandlers.base.ParseTupleParameters-class.html#add_parameter" title="typehandlers.base.ParseTupleParameters.add_parameter()" alt="" coords="949,565,1507,597"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#write_register_new_wrapper" title="wrapper_registry.StdMapWrapperRegistry.write_register_new_wrapper()" alt="" coords="884,621,1572,653"/>
<area shape="rect" href="pybindgen.typehandlers.base.ForwardWrapperBase-class.html#generate_body" title="typehandlers.base.ForwardWrapperBase.generate_body()" alt="" coords="5,313,557,345"/>
</map>
  <img src="call_graph_for_convert_python__8.gif" alt='' usemap="#call_graph_for_convert_python__8" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>parses python args to get C++ value</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.Parameter-class.html#convert_python_to_c">typehandlers.base.Parameter.convert_python_to_c</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="convert_c_to_python"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">convert_c_to_python</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.cppclass_typehandlers-pysrc.html#CppClassRefParameter.convert_c_to_python">source&nbsp;code</a></span>&nbsp;
    <br /><span class="codelink"><a href="javascript:void(0);" onclick="toggleCallGraph('call_graph_for_convert_c_to_py_8-div');return false;">call&nbsp;graph</a></span>&nbsp;</td>
  </tr></table>
  <div style="display:none" id="call_graph_for_convert_c_to_py_8-div"><center>
<table border="0" cellpadding="0" cellspacing="0">
  <tr><td><center>  <map id="call_graph_for_convert_c_to_py_8" name="call_graph_for_convert_c_to_py_8">
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#_get_wrapper_registry" title="cppclass.CppClass._get_wrapper_registry()" alt="" coords="967,5,1377,37"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#get_pystruct" title="cppclass.CppClass.get_pystruct()" alt="" coords="1012,61,1332,93"/>
<area shape="rect" href="pybindgen.cppclass.CppClass-class.html#write_create_instance" title="cppclass.CppClass.write_create_instance()" alt="" coords="968,117,1376,149"/>
<area shape="rect" href="pybindgen.cppclass_typehandlers.CppClassRefParameter-class.html#convert_c_to_python" title="convert_c_to_python()" alt="" coords="551,257,777,289"/>
<area shape="rect" href="pybindgen.typehandlers.base.BuildValueParameters-class.html#add_parameter" title="typehandlers.base.BuildValueParameters.add_parameter()" alt="" coords="895,173,1449,205"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#add_cleanup_code" title="typehandlers.base.CodeBlock.add_cleanup_code()" alt="" coords="935,229,1409,261"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#indent" title="typehandlers.base.CodeBlock.indent()" alt="" coords="988,285,1356,317"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#unindent" title="typehandlers.base.CodeBlock.unindent()" alt="" coords="976,341,1368,373"/>
<area shape="rect" href="pybindgen.typehandlers.base.CodeBlock-class.html#write_code" title="typehandlers.base.CodeBlock.write_code()" alt="" coords="967,397,1377,429"/>
<area shape="rect" href="pybindgen.typehandlers.base.DeclarationsScope-class.html#declare_variable" title="typehandlers.base.DeclarationsScope.declare_variable()" alt="" coords="905,453,1439,485"/>
<area shape="rect" href="pybindgen.wrapper_registry.StdMapWrapperRegistry-class.html#write_register_new_wrapper" title="wrapper_registry.StdMapWrapperRegistry.write_register_new_wrapper()" alt="" coords="828,509,1516,541"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReverseWrapperBase-class.html#generate" title="typehandlers.base.ReverseWrapperBase.generate()" alt="" coords="7,257,500,289"/>
</map>
  <img src="call_graph_for_convert_c_to_py_8.gif" alt='' usemap="#call_graph_for_convert_c_to_py_8" ismap="ismap" class="graph-without-title" />
</center></td></tr>
  <tr><th>Call Graph</th></tr>
</table><br />
</center></div>

  <p>Write some code before calling the Python method.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.Parameter-class.html#convert_c_to_python">typehandlers.base.Parameter.convert_c_to_python</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:17 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
